package net.towee.model.repo;

import java.util.List;

import net.towee.model.bittorrent.TorrentData;
import net.towee.model.bittorrent.TorrentItem;

/**
 * This interface define structure of information about torrent
 * @author c58
 */
public interface AttachmentTorrent extends AttachmentInfo {
	/**
	 * @param torr
	 */
	void setTorrentData(TorrentData torr);
	
	/**
	 * @param list
	 */
	void setItemsList(List<TorrentItem> list);
	
	/**
	 * @return list of attached to torrent files
	 */
	List<TorrentItem> getItemsList();
	
	/**
	 * @return number of sseds
	 */
	int getSeeds();
	
	/**
	 * @return number of peers
	 */
	int getPeers();
	
	/**
	 * @return info hash
	 */
	String getInfoHash();
}
